#include"process.h"
#include<unistd.h>
#include<stdio.h>
double total=1024.00;
double speed=1.00;
void download()
{
  double cnt=0;
  while(cnt<=total)
  {
    fflush_a(total,cnt);
    usleep(3000);
    cnt+=speed;
  }
  printf("\ndownload %.2lfMB DONE\n",cnt);
}
int main()
{
  
  download();
  download();
  download();
  download();
  download();
  download();
  download();
  return 0;
}
